<!--
 * @Author: Bonnie
 * @Date: 2021-10-11 14:35:48
 * @LastEditTime: 2021-10-14 10:33:06
 * @LastEditors: Bonnie
 * @Description: 
 * @FilePath: /custom/src/views/Test.vue
-->
<template>
  <div>
    <input type="text" v-model="m" @input="inputHandle" />
    <button @click="getUuid">click me</button>
  </div>
</template>
<script>
import { _debounce, debounce, genShortUID, getCookie, logout } from "@/utils";
export default {
  name: "Test",
  data() {
    return {
      m: ""
    };
  },
  methods: {
    inputHandle: debounce(function() {
      console.log("巴拉巴拉 22", this.m);
    }, 5 * 1000),
    getUuid() {
      logout();
    }
  }
};
</script>
<style lang='scss' scoped>
</style>